package com.huijutao;


import java.util.ArrayList;
import java.util.HashMap;

/**
 * SlidingMenu数据设置
 */
public class SlidingMenuData {
    public static String title[] = {"全部", "户外运动", "休闲鞋服", "电脑数码", "家用电器", "食品酒水", "家居百货", "其他分类" };

    public static ArrayList<HashMap<String, Object>> getTitleData() {
        ArrayList<HashMap<String, Object>> listItem = new ArrayList<HashMap<String, Object>>();
        HashMap<String, Object> map1 = new HashMap<>();
        map1.put("img", R.drawable.sliding_quanbu);
        map1.put("text", title[0]);
        HashMap<String, Object> map2 = new HashMap<>();
        map2.put("img", R.drawable.sliding_yundong);
        map2.put("text", title[1]);
        HashMap<String, Object> map3 = new HashMap<>();
        map3.put("img", R.drawable.sliding_yifu);
        map3.put("text", title[2]);
        HashMap<String, Object> map4 = new HashMap<>();
        map4.put("img", R.drawable.sliding_diannao);
        map4.put("text", title[3]);
        HashMap<String, Object> map5 = new HashMap<>();
        map5.put("img", R.drawable.sliding_dianqi);
        map5.put("text", title[4]);
        HashMap<String, Object> map6 = new HashMap<>();
        map6.put("img", R.drawable.sliding_jiushui);
        map6.put("text", title[5]);
        HashMap<String, Object> map7 = new HashMap<>();
        map7.put("img", R.drawable.sliding_jiaju);
        map7.put("text", title[6]);
        HashMap<String, Object> map8 = new HashMap<>();
        map8.put("img", R.drawable.sliding_qita);
        map8.put("text", title[7]);
        listItem.add(map1);
        listItem.add(map2);
        listItem.add(map3);
        listItem.add(map4);
        listItem.add(map5);
        listItem.add(map6);
        listItem.add(map7);
        listItem.add(map8);
        return listItem;
    }

    public static String[] getTuangouTitleData() {
        String tuangoutitle[] = {"全部", "耐克", "AJ", "阿迪达斯", "三叶草", "锐步", "新百伦", "UA", "李宁", "安踏", "匹克", "爱世克斯", "彪马", "其他" };
        return tuangoutitle;
    }

    public static ArrayList<HashMap<String, Object>> getHuiHuiTitle() {
        String huihui[] = {"所有信息", "白菜", "数码家电", "服饰鞋包", "食品生鲜", "日用百货", "母婴", "美妆个护", "其他" };
        ArrayList<HashMap<String, Object>> listItem = new ArrayList<HashMap<String, Object>>();
        HashMap<String, Object> map1 = new HashMap<>();
        map1.put("img", R.drawable.sliding_quanbu);
        map1.put("text", huihui[0]);

        HashMap<String, Object> map2 = new HashMap<>();
        map2.put("img", R.drawable.ic_popup_baicai);
        map2.put("text", huihui[1]);

        HashMap<String, Object> map3 = new HashMap<>();
        map3.put("img", R.drawable.sliding_diannao);
        map3.put("text", huihui[2]);

        HashMap<String, Object> map4 = new HashMap<>();
        map4.put("img", R.drawable.sliding_yifu);
        map4.put("text", huihui[3]);

        HashMap<String, Object> map6 = new HashMap<>();
        map6.put("img", R.drawable.sliding_dianqi);
        map6.put("text", huihui[5]);

        HashMap<String, Object> map5 = new HashMap<>();
        map5.put("img", R.drawable.sliding_jiushui);
        map5.put("text", huihui[4]);

        HashMap<String, Object> map7 = new HashMap<>();
        map7.put("img", R.drawable.sliding_jiaju);

        map7.put("text", huihui[6]);

        HashMap<String, Object> map8 = new HashMap<>();
        map8.put("img", R.drawable.ic_popup_mzgh);
        map8.put("text", huihui[7]);
        HashMap<String, Object> map9 = new HashMap<>();
        map9.put("img", R.drawable.sliding_qita);
        map9.put("text", huihui[8]);
        listItem.add(map1);
        listItem.add(map2);
        listItem.add(map3);
        listItem.add(map4);
        listItem.add(map5);
        listItem.add(map6);
        listItem.add(map7);
        listItem.add(map8);
        listItem.add(map9);
        return listItem;


    }
}
